import { getRequest } from '../../utils/request.js'

//查询该用户所有收货地址
export function getGoodsAddressList(params, callbackOk, callbackFail) {
	getRequest('/goodsAddress/getGoodsAddressList', params, callbackOk, callbackFail)
}

//删除收货地址
export function delGoodsAddress(params, callbackOk, callbackFail) {
	getRequest('/goodsAddress/delGoodsAddress', params, callbackOk, callbackFail)
}

//修改默认地址
export function editDefaultAddress(params, callbackOk, callbackFail) {
	getRequest('/goodsAddress/updateDefaultAddress', params, callbackOk, callbackFail)
}